//
//  YXUICreators.h
//  TASWork
//
//  Created by TAS-Mac on 2018/1/9.
//  Copyright © 2018年 TAS-Mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YXUICreators : NSObject
+ (UILabel *)createLabelBgColor:(UIColor *)bgColor
                      textColor:(UIColor *)textColor
                       fontSize:(CGFloat )font
                  textAlignment:(NSTextAlignment)alignment;


+ (UIImageView *)createImageView:(UIColor *)bgColor image:(UIImage*)image radius:(CGFloat)radius size:(CGSize)size;

+ (UIButton*)createButton:(id)target action:(SEL)action
                    title:(NSString*)title
                titleSize:(CGFloat)titleSize
    backgroundImageNormal:(UIImage*)backgroundImageNormal
backgroundImageHighlighted:(UIImage*)backgroundImageHighlighted
                   radius:(CGFloat)radius;
@end
